
SET(__TempHeaders_qt4 
  GrabScrThread.h
  GetPixThread.h
  GetFileThread.h)

FILE(GLOB __TempSources *.cpp)

FOREACH(fileName ${__TempHeaders_qt4})
  STRING(REGEX REPLACE "(.*h$)" "${CMAKE_CURRENT_SOURCE_DIR}/\\1" pro ${fileName})
  LIST(APPEND __Headers_qt4 ${pro})
ENDFOREACH(fileName)

#QT4_WRAP_CPP(__Sources_moc ${__Headers_qt4})
SET(ThreadHeaders ${__Headers_qt4} PARENT_SCOPE)
SET(ThreadHeaders_qt4 ${__Headers_qt4} PARENT_SCOPE)
SET(ThreadSources ${__TempSources} PARENT_SCOPE)



